<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>aws-crt-cpp: Aws::Crt::Http::HttpMessage Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">aws-crt-cpp
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceAws.html">Aws</a></li><li class="navelem"><a class="el" href="namespaceAws_1_1Crt.html">Crt</a></li><li class="navelem"><a class="el" href="namespaceAws_1_1Crt_1_1Http.html">Http</a></li><li class="navelem"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpMessage.html">HttpMessage</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classAws_1_1Crt_1_1Http_1_1HttpMessage-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Aws::Crt::Http::HttpMessage Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="HttpRequestResponse_8h_source.html">HttpRequestResponse.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Aws::Crt::Http::HttpMessage:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classAws_1_1Crt_1_1Http_1_1HttpMessage.png" usemap="#Aws::Crt::Http::HttpMessage_map" alt=""/>
  <map id="Aws::Crt::Http::HttpMessage_map" name="Aws::Crt::Http::HttpMessage_map">
<area href="classAws_1_1Crt_1_1Http_1_1HttpRequest.html" alt="Aws::Crt::Http::HttpRequest" shape="rect" coords="0,56,170,80"/>
<area href="classAws_1_1Crt_1_1Http_1_1HttpResponse.html" alt="Aws::Crt::Http::HttpResponse" shape="rect" coords="180,56,350,80"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a120f0204580a5e03776b6489f0498016"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpMessage.html#a120f0204580a5e03776b6489f0498016">~HttpMessage</a> ()</td></tr>
<tr class="separator:a120f0204580a5e03776b6489f0498016"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa6b9734bc57422fa525f2987a6b138f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpMessage.html#afa6b9734bc57422fa525f2987a6b138f">HttpMessage</a> (const <a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpMessage.html">HttpMessage</a> &amp;)=delete</td></tr>
<tr class="separator:afa6b9734bc57422fa525f2987a6b138f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1eeebdf7b88ab5e83cd01832059deddb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpMessage.html#a1eeebdf7b88ab5e83cd01832059deddb">HttpMessage</a> (<a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpMessage.html">HttpMessage</a> &amp;&amp;)=delete</td></tr>
<tr class="separator:a1eeebdf7b88ab5e83cd01832059deddb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a963c82d07488d7394e8b98f5767b8f4c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpMessage.html">HttpMessage</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpMessage.html#a963c82d07488d7394e8b98f5767b8f4c">operator=</a> (const <a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpMessage.html">HttpMessage</a> &amp;)=delete</td></tr>
<tr class="separator:a963c82d07488d7394e8b98f5767b8f4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ee54ed5de003c424ad2680a83f51835"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpMessage.html">HttpMessage</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpMessage.html#a0ee54ed5de003c424ad2680a83f51835">operator=</a> (<a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpMessage.html">HttpMessage</a> &amp;&amp;)=delete</td></tr>
<tr class="separator:a0ee54ed5de003c424ad2680a83f51835"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9607a35a4ad3a0de2e62bed4eec02317"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; <a class="el" href="classAws_1_1Crt_1_1Io_1_1InputStream.html">Aws::Crt::Io::InputStream</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpMessage.html#a9607a35a4ad3a0de2e62bed4eec02317">GetBody</a> () const noexcept</td></tr>
<tr class="separator:a9607a35a4ad3a0de2e62bed4eec02317"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51f39db1a0d83910f66cca53d5b1bc5b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpMessage.html#a51f39db1a0d83910f66cca53d5b1bc5b">SetBody</a> (const std::shared_ptr&lt; <a class="el" href="namespaceAws_1_1Crt_1_1Io.html#a7e18a94cc1dada574dfe654349a94ec2">Aws::Crt::Io::IStream</a> &gt; &amp;body) noexcept</td></tr>
<tr class="separator:a51f39db1a0d83910f66cca53d5b1bc5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58e90600b6dd7783e9b4d49384d38bca"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpMessage.html#a58e90600b6dd7783e9b4d49384d38bca">SetBody</a> (const std::shared_ptr&lt; <a class="el" href="classAws_1_1Crt_1_1Io_1_1InputStream.html">Aws::Crt::Io::InputStream</a> &gt; &amp;body) noexcept</td></tr>
<tr class="separator:a58e90600b6dd7783e9b4d49384d38bca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a080624f372557c966c0952f7f8f88b94"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpMessage.html#a080624f372557c966c0952f7f8f88b94">GetHeaderCount</a> () const noexcept</td></tr>
<tr class="separator:a080624f372557c966c0952f7f8f88b94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b627d87c5723ac8a2d897ffb3b3c9c4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classAws_1_1Crt_1_1Optional.html">Optional</a>&lt; <a class="el" href="namespaceAws_1_1Crt_1_1Http.html#a06495cd28f64029ef3dbd3b831d7b932">HttpHeader</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpMessage.html#a3b627d87c5723ac8a2d897ffb3b3c9c4">GetHeader</a> (size_t <a class="el" href="namespaceAws.html#ac452980f2f77477ec3f0bd9e57f9123d">index</a>) const noexcept</td></tr>
<tr class="separator:a3b627d87c5723ac8a2d897ffb3b3c9c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8241a91d3dcfd1b94cd8f431269cf795"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpMessage.html#a8241a91d3dcfd1b94cd8f431269cf795">AddHeader</a> (const <a class="el" href="namespaceAws_1_1Crt_1_1Http.html#a06495cd28f64029ef3dbd3b831d7b932">HttpHeader</a> &amp;header) noexcept</td></tr>
<tr class="separator:a8241a91d3dcfd1b94cd8f431269cf795"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6283f07bc66cc433c7cbb391438d08b5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpMessage.html#a6283f07bc66cc433c7cbb391438d08b5">EraseHeader</a> (size_t <a class="el" href="namespaceAws.html#ac452980f2f77477ec3f0bd9e57f9123d">index</a>) noexcept</td></tr>
<tr class="separator:a6283f07bc66cc433c7cbb391438d08b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d241c4d4931aa06bf1bf90fb11795e0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpMessage.html#a3d241c4d4931aa06bf1bf90fb11795e0">operator bool</a> () const noexcept</td></tr>
<tr class="separator:a3d241c4d4931aa06bf1bf90fb11795e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9c575ff04252836dc9d2b25fddfe804"><td class="memItemLeft" align="right" valign="top">struct aws_http_message *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpMessage.html#ab9c575ff04252836dc9d2b25fddfe804">GetUnderlyingMessage</a> () const noexcept</td></tr>
<tr class="separator:ab9c575ff04252836dc9d2b25fddfe804"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a4f1de0f98c890a2e27d6abc3b748e9e3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpMessage.html#a4f1de0f98c890a2e27d6abc3b748e9e3">HttpMessage</a> (<a class="el" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a> *allocator, struct aws_http_message *message, bool ownsMessage=<a class="el" href="namespaceAws.html#ac488d0932f9b9e0686736a3dc7a8bb08">true</a>) noexcept</td></tr>
<tr class="separator:a4f1de0f98c890a2e27d6abc3b748e9e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:ad8b14bbca8abb0f1535903e7e6cba5f2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpMessage.html#ad8b14bbca8abb0f1535903e7e6cba5f2">m_allocator</a></td></tr>
<tr class="separator:ad8b14bbca8abb0f1535903e7e6cba5f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a963abd6f507b23919f8dcca317eb13ef"><td class="memItemLeft" align="right" valign="top">struct aws_http_message *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpMessage.html#a963abd6f507b23919f8dcca317eb13ef">m_message</a></td></tr>
<tr class="separator:a963abd6f507b23919f8dcca317eb13ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1069f453ac53715d84fdef590fd4e959"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; <a class="el" href="classAws_1_1Crt_1_1Io_1_1InputStream.html">Aws::Crt::Io::InputStream</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpMessage.html#a1069f453ac53715d84fdef590fd4e959">m_bodyStream</a></td></tr>
<tr class="separator:a1069f453ac53715d84fdef590fd4e959"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a685d72fa12b684a74224c48155baa94d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpMessage.html#a685d72fa12b684a74224c48155baa94d">m_ownsMessage</a></td></tr>
<tr class="separator:a685d72fa12b684a74224c48155baa94d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Base class representing a mutable http request or response. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a120f0204580a5e03776b6489f0498016"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a120f0204580a5e03776b6489f0498016">&#9670;&nbsp;</a></span>~HttpMessage()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Aws::Crt::Http::HttpMessage::~HttpMessage </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="afa6b9734bc57422fa525f2987a6b138f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa6b9734bc57422fa525f2987a6b138f">&#9670;&nbsp;</a></span>HttpMessage() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Aws::Crt::Http::HttpMessage::HttpMessage </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpMessage.html">HttpMessage</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a1eeebdf7b88ab5e83cd01832059deddb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1eeebdf7b88ab5e83cd01832059deddb">&#9670;&nbsp;</a></span>HttpMessage() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Aws::Crt::Http::HttpMessage::HttpMessage </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpMessage.html">HttpMessage</a> &amp;&amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a4f1de0f98c890a2e27d6abc3b748e9e3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f1de0f98c890a2e27d6abc3b748e9e3">&#9670;&nbsp;</a></span>HttpMessage() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Aws::Crt::Http::HttpMessage::HttpMessage </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a> *&#160;</td>
          <td class="paramname"><em>allocator</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct aws_http_message *&#160;</td>
          <td class="paramname"><em>message</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>ownsMessage</em> = <code><a class="el" href="namespaceAws.html#ac488d0932f9b9e0686736a3dc7a8bb08">true</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a8241a91d3dcfd1b94cd8f431269cf795"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8241a91d3dcfd1b94cd8f431269cf795">&#9670;&nbsp;</a></span>AddHeader()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Aws::Crt::Http::HttpMessage::AddHeader </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceAws_1_1Crt_1_1Http.html#a06495cd28f64029ef3dbd3b831d7b932">HttpHeader</a> &amp;&#160;</td>
          <td class="paramname"><em>header</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a6283f07bc66cc433c7cbb391438d08b5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6283f07bc66cc433c7cbb391438d08b5">&#9670;&nbsp;</a></span>EraseHeader()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Aws::Crt::Http::HttpMessage::EraseHeader </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a9607a35a4ad3a0de2e62bed4eec02317"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9607a35a4ad3a0de2e62bed4eec02317">&#9670;&nbsp;</a></span>GetBody()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::shared_ptr&lt; <a class="el" href="classAws_1_1Crt_1_1Io_1_1InputStream.html">Aws::Crt::Io::InputStream</a> &gt; Aws::Crt::Http::HttpMessage::GetBody </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Gets the input stream representing the message body </p>

</div>
</div>
<a id="a3b627d87c5723ac8a2d897ffb3b3c9c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b627d87c5723ac8a2d897ffb3b3c9c4">&#9670;&nbsp;</a></span>GetHeader()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAws_1_1Crt_1_1Optional.html">Optional</a>&lt; <a class="el" href="namespaceAws_1_1Crt_1_1Http.html#a06495cd28f64029ef3dbd3b831d7b932">HttpHeader</a> &gt; Aws::Crt::Http::HttpMessage::GetHeader </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a080624f372557c966c0952f7f8f88b94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a080624f372557c966c0952f7f8f88b94">&#9670;&nbsp;</a></span>GetHeaderCount()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t Aws::Crt::Http::HttpMessage::GetHeaderCount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ab9c575ff04252836dc9d2b25fddfe804"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab9c575ff04252836dc9d2b25fddfe804">&#9670;&nbsp;</a></span>GetUnderlyingMessage()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">struct aws_http_message* Aws::Crt::Http::HttpMessage::GetUnderlyingMessage </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a3d241c4d4931aa06bf1bf90fb11795e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d241c4d4931aa06bf1bf90fb11795e0">&#9670;&nbsp;</a></span>operator bool()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Aws::Crt::Http::HttpMessage::operator bool </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a963c82d07488d7394e8b98f5767b8f4c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a963c82d07488d7394e8b98f5767b8f4c">&#9670;&nbsp;</a></span>operator=() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpMessage.html">HttpMessage</a>&amp; Aws::Crt::Http::HttpMessage::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpMessage.html">HttpMessage</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a0ee54ed5de003c424ad2680a83f51835"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0ee54ed5de003c424ad2680a83f51835">&#9670;&nbsp;</a></span>operator=() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpMessage.html">HttpMessage</a>&amp; Aws::Crt::Http::HttpMessage::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpMessage.html">HttpMessage</a> &amp;&amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a58e90600b6dd7783e9b4d49384d38bca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a58e90600b6dd7783e9b4d49384d38bca">&#9670;&nbsp;</a></span>SetBody() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Aws::Crt::Http::HttpMessage::SetBody </td>
          <td>(</td>
          <td class="paramtype">const std::shared_ptr&lt; <a class="el" href="classAws_1_1Crt_1_1Io_1_1InputStream.html">Aws::Crt::Io::InputStream</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>body</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a51f39db1a0d83910f66cca53d5b1bc5b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a51f39db1a0d83910f66cca53d5b1bc5b">&#9670;&nbsp;</a></span>SetBody() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Aws::Crt::Http::HttpMessage::SetBody </td>
          <td>(</td>
          <td class="paramtype">const std::shared_ptr&lt; <a class="el" href="namespaceAws_1_1Crt_1_1Io.html#a7e18a94cc1dada574dfe654349a94ec2">Aws::Crt::Io::IStream</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>body</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Sets the input stream representing the message body </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ad8b14bbca8abb0f1535903e7e6cba5f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad8b14bbca8abb0f1535903e7e6cba5f2">&#9670;&nbsp;</a></span>m_allocator</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a>* Aws::Crt::Http::HttpMessage::m_allocator</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a1069f453ac53715d84fdef590fd4e959"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1069f453ac53715d84fdef590fd4e959">&#9670;&nbsp;</a></span>m_bodyStream</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::shared_ptr&lt;<a class="el" href="classAws_1_1Crt_1_1Io_1_1InputStream.html">Aws::Crt::Io::InputStream</a>&gt; Aws::Crt::Http::HttpMessage::m_bodyStream</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a963abd6f507b23919f8dcca317eb13ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a963abd6f507b23919f8dcca317eb13ef">&#9670;&nbsp;</a></span>m_message</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">struct aws_http_message* Aws::Crt::Http::HttpMessage::m_message</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a685d72fa12b684a74224c48155baa94d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a685d72fa12b684a74224c48155baa94d">&#9670;&nbsp;</a></span>m_ownsMessage</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Aws::Crt::Http::HttpMessage::m_ownsMessage</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/home/ANT.AMAZON.COM/dengket/doc/aws-crt-cpp/include/aws/crt/http/<a class="el" href="HttpRequestResponse_8h_source.html">HttpRequestResponse.h</a></li>
<li>/home/ANT.AMAZON.COM/dengket/doc/aws-crt-cpp/source/http/<a class="el" href="HttpRequestResponse_8cpp.html">HttpRequestResponse.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
</html>
